package APP2.bookshop.order;
import java.util.Set;
import java.util.HashSet;
import APP2.bookshop.book.Book;

public class Order
{	
	public int copy;
	public Book book;
        public OrderInfo orderInfo;
	
	public Order(int copy, Book book){
            this.copy = copy;
            this.book = book;
	}

        public Order(int copy, Book book, OrderInfo info) {
            this(copy, book);
            this.orderInfo = info;
        }
	
	public int getCopy() {
            return this.copy;
	}
        public Book getBook() {
            return this.book;
        }
        public OrderInfo getOrderInfo() {
            return this.orderInfo;
        }
        public void setOrderInfo(OrderInfo info) {
            this.orderInfo = info;
        }
	
}

